home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
CHECKDRV.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
980b
|
47 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Check_Drive( cDrive ) --> lDriveReady
PARAMETERS:
cDrive : Drive to Check
SHORT:
Check if Drive is available for READ/WRITE.
DESCRIPTION:
_Check_Drive() checks to see if the specified drive is available and
writable.
Return Values:
0 - Disk is available for R/W
1 - Disk is unavailable for R/W
_Check_Drive() will ignore any colon in the drive specification.
NOTE:
CheckDrive() uses the Clipper !/RUN command.
EXAMPLE:
lIsDriveA := _Check_Drive('A')
Result: If Drive A is avaliable then _Check_Drive() will return TRUE,
else, FALSE.
lIsDriveA = _Check_Drive('A:')
Result: Same as above. Colon is ignored if passed.
******************************************************************************/